package kr.co.doriclassic.ex08;

class Movie {
	private String title, director, actors;	
	//필드 접근자와 설정자
	public String getTitle() { 
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getDirector() {
		return director;
	}
	public void setDirector(String director) {
		this.director = director;
	}
	public String getActors() {
		return actors;
	}
	public void setActors(String actors) {
		this.actors = actors;
	}
}
public class MovieTest{
	public static void main(String[] args) {
		Movie m = new Movie();
		m.setTitle("Transformer");
		System.out.println(m);		
	}
}
